import request from '../utils/request';
//仓库管理业务接口文档
const api = {
  //分页查询调库单列表
  GetMatchPageFinishedProductStockAdjustment(data?: any) {
    return request({
      url: '/api/FinishedProductStockAdjustment/GetMatchPageFinishedProductStockAdjustment',
      method: 'post',
      data,
    });
  },
  //创建调库单
  AddFinishedProductStockAdjustment(data?: any) {
    return request({
      url: '/api/FinishedProductStockAdjustment/AddFinishedProductStockAdjustment',
      method: 'post',
      data,
    });
  },
  //删除调库单（根据调库单code）
  DeleteFinishedProductStockAdjustment(data?: any) {
    return request({
      url: '/api/FinishedProductStockAdjustment/DeleteFinishedProductStockAdjustment',
      method: 'post',
      data,
    });
  },
  //修改调库单
  UpdateFinishedProductStockAdjustment(data?: any) {
    return request({
      url: '/api/FinishedProductStockAdjustment/UpdateFinishedProductStockAdjustment',
      method: 'post',
      data,
    });
  },
  //确认调库单（根据调库单code）
  ConfirmFinishedProductStockAdjustment(data?: any) {
    return request({
      url: '/api/FinishedProductStockAdjustment/ConfirmFinishedProductStockAdjustment',
      method: 'post',
      data,
    });
  },
  //查询调库单详情（根据调库单code）
  GetFinishedProductStockAdjustment(data?: any) {
    return request({
      url: '/api/FinishedProductStockAdjustment/GetFinishedProductStockAdjustment',
      method: 'post',
      data,
    });
  },
};
//业务开单接口
export default api;
